	<form id="pagerForm" data-toggle="ajaxsearch" action="${ctx}/role/roleFromMenu" method="post">
        <input type="hidden" name="pageSize" value="${page.pageSize!15}">
        <input type="hidden" name="pageCurrent" value="${page.pageCurrent!1}">
        <input type="hidden" name="orderField" value="${page.orderField!"id"}">
        <input type="hidden" name="orderDirection" value="${page.orderDirection!"asc"}">
        <input type="hidden" name="menuid" value="${menuid!}" readonly>
    </form>
    <table data-toggle="tablefixed" data-width="100%" data-layout-h="55px" >
        <thead>
            <tr>
                <th data-order-field="id">角色ID</th>
                <th data-order-field="text">角色名称</th>
            </tr>
        </thead>
        <tbody>
            <%
               if (page.pageData != null){
                  for (role in page.pageData){
            %>
	                		<tr data-id="">
				                <td>${role.id!}</td>
				                <td>${role.text!}</td>
				            </tr>
		    <%
		          }
		       }
		    %>
        </tbody>
    </table>
<div class="bjui-pageFooter">
	<div class="pages">
            <span>每页&nbsp;</span>
            <div class="selectPagesize">
                <select data-toggle="selectpicker" data-defval="${page.pageSize!}" data-toggle-change="changepagesize" >
		    		<option value="15">15</option>
		        	<option value="30">30</option>
		        	<option value="50">50</option>
		        	<option value="100">100</option>
		    	</select>
            </div>
            <span>&nbsp;条，共 ${page.totalRow!0} 条</span>
	</div>
	<div class="pagination-box" data-toggle="pagination" data-total="${page.totalRow!}" data-page-size="${page.pageSize!15}" data-page-current="${page.pageCurrent!1}">
	</div>
</div>
